package com.zg.scf.domain.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class AlertServiceDueEditReq {
    @ApiModelProperty(value = "预警数据id", required = true)
    @NotNull(message = "【预警数据id】字段不能为NULL")
    private Long id;

    @ApiModelProperty(value = "服务期限", required = true)
    @NotNull(message = "【服务期限】字段不能为NULL")
    private Date serviceTerm;
}
